#/bin/bash
export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH
mkdir output
g++ Serial_test.cpp -L/usr/local/lib -lcrtSerialLib -I/usr/local/include -o ./output/Serialtest
echo "串口回显程序，波特率115200，串口'/dev/ttyUSB0'，发送需换行"
./output/Serialtest